var raddarDom = document.getElementById('raddarChart');
var raddarChart = echarts.init(raddarDom);
var raddarOption = {
    tooltip: {
      trigger: 'item',
      axisPointer: { // 坐标轴指示器，坐标轴触发有效
        type: 'shadow' // 默认为直线，可选为：'line' | 'shadow'
      }
    },
    color,
    radar: {
      radius: '66%',
      center: ['50%', '42%'],
      splitNumber: 8,
      splitArea: {
        areaStyle: {
          color: 'rgba(127,95,132,.3)',
          opacity: 1,
          shadowBlur: 45,
          shadowColor: 'rgba(0,0,0,.5)',
          shadowOffsetX: 0,
          shadowOffsetY: 15
        }
      },
      indicator: [
        { name: '勤劳指数', max: 100 },
        { name: '人脉指数', max: 200 },
        { name: '商业经验', max: 200 },
        { name: '商业头脑', max: 200 },
        { name: '潜力值', max: 200 }
      ]
    },
    legend: {
      left: 'center',
      bottom: '10',
      data: ['申请人个性']
    },
    series: [{
      type: 'radar',
      symbolSize: 0,
      areaStyle: {
        normal: {
          shadowBlur: 13,
          shadowColor: 'rgba(0,0,0,.2)',
          shadowOffsetX: 0,
          shadowOffsetY: 10,
          opacity: 1
        }
      },
      data: [
        {
          value: [50, 70, 120, 110, 150],
          name: '申请人个性'
        },
        // {
        //   value: [4000, 9000, 15000, 15000, 13000],
        //   name: 'Expected Spending'
        // },
        // {
        //   value: [5500, 11000, 12000, 15000, 12000,],
        //   name: 'Actual Spending'
        // }
      ],
      animationDuration: 3000
    }]
  }

  raddarChart.setOption(raddarOption)